﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using bdxyit.com.RecruitmentAppSys.Models;

/***
*机器名：BDXYIT-HUI
*项目名称：$projectname$
*命名空间：bdxyit.com.RecruitmentAppSys.IDAL
*文件名：ApplyJobActionModels
*系统时间：3/25/2012 3:32:27 PM
*当前用户：huihui
*创建时间：2012
*
*修改时间：2012 3/25/2012 3:32:27 PM
*修改事件：
***/

namespace bdxyit.com.RecruitmentAppSys.IDAL
{
    public interface IApplyJobActionDAL
    {
        /// <summary>
        /// 获取应聘职位
        /// </summary>
        /// <returns></returns>
        List<ApplyJobAction> SelectApplyJobActionByUserId(string userId);

        /// <summary>
        ///  获取应聘职位
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="flag"></param>
        /// <returns></returns>
        ApplyJobAction SelectApplyJobActionByUserIdAndFlag(string userId, int flag);

        /// <summary>
        /// 删除应聘职位
        /// </summary>
        /// <returns></returns>
        bool DeleteApplyJobActionByUserId(string userId);


         /// <summary>
        /// 删除应聘职位
        /// </summary>
        /// <returns></returns>
        bool DeleteApplyJobActionByUserIdAndFlag(string userId, int flag);

        
        /// <summary>
        /// 插入应聘职位
        /// </summary>
        /// <returns></returns>
        bool InsertApplyJobAction(ApplyJobAction aja);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="aja"></param>
        /// <returns></returns>
        bool UpdateApplyJobAction(ApplyJobAction aja);

    }
}